<?php
namespace  data\model;
use think\Model;
use think\Validate;

/**
 * 父类模型类
 * User: Administrator
 * Date: 2017/11/13
 * Time: 14:01
 */
class BaseModel extends Model
{
//    protected  $rule = [];
//    protected $message = [];
//    protected $scene = [];
//    protected $validate;
//    public function __construct($data =[])
//    {
//        parent::__construct($data);
//        $this->validate = new Validate($this->rule,$this->message);
//        $this->validate->scene($this->scene);
//    }
}